<% if logged_in? && @tutorial.user.id == current_user.id %>
<div style="float: right;">
  <%= link_to image_tag("/images/update_tutorial.png"), edit_tutorial_path(@tutorial) %>
</div>
<% end %>

<%= render :partial => 'tutorials/tutorial', :object => @tutorial %>
